home *** CD-ROM | disk | FTP | other *** search
- /*
- * Portions Copyright (C) 1983-1995 The Santa Cruz Operation, Inc.
- * All Rights Reserved.
- *
- * The information in this file is provided for the exclusive use of
- * the licensees of The Santa Cruz Operation, Inc. Such users have the
- * right to use, modify, and incorporate this code into other products
- * for purposes authorized by the license agreement provided they include
- * this notice and the associated copyright notice with any such product.
- * The information in this file is provided "AS IS" without warranty.
- */
-
- /* Portions Copyright (c) 1990, 1991, 1992, 1993 UNIX System Laboratories, Inc. */
- /* Portions Copyright (c) 1979 - 1990 AT&T */
- /* All Rights Reserved */
-
- /* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF */
- /* UNIX System Laboratories, Inc. */
- /* The copyright notice above does not evidence any */
- /* actual or intended publication of such source code. */
-
- #ifndef _SETJMP_H
- #ifndef _PARAMS
- #if defined(__STDC__) || defined(__cplusplus)
- #define _PARAMS(ARGS) ARGS
- #else
- #define _PARAMS(ARGS) ()
- #endif
- #endif /* _PARAMS */
- #define _SETJMP_H
-
- #ident "oldstyle @(#) setjmp.h 20.1 94/12/04 "
-
-
- /* Need to think about this, very different from SCO implementation */
-
- #define _SIGJBLEN 128 /* (sizeof(ucontext_t) / sizeof (int)) */
-
- #define _JBLEN 6
-
- typedef int jmp_buf[_JBLEN];
-
-
- typedef int sigjmp_buf[_SIGJBLEN];
-
- extern int setjmp _PARAMS((jmp_buf));
- extern void longjmp _PARAMS((jmp_buf, int));
- extern int _setjmp _PARAMS((jmp_buf));
- extern void _longjmp _PARAMS((jmp_buf, int));
- extern int sigsetjmp _PARAMS((sigjmp_buf, int));
- extern void siglongjmp _PARAMS((sigjmp_buf, int));
-
-
-
- #endif /* _SETJMP_H */
-